package com.neusoft.neuiotms.dcom.service;

import java.util.List;

import org.apache.poi.ss.usermodel.Workbook;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.neusoft.bizcore.web.support.Searchable;
import com.neusoft.neuiotms.dcom.dto.MaintainTaskDTO;

public interface MaintainTaskService {

    Page<MaintainTaskDTO> search(Pageable pageable, Searchable searchable);

    List<MaintainTaskDTO> search(Searchable searchable);

    List<MaintainTaskDTO> findAll();

    MaintainTaskDTO create(MaintainTaskDTO dto);

    MaintainTaskDTO update(Long id, MaintainTaskDTO dto);

    MaintainTaskDTO details(Long id);

    void delete(Long id);

    Long getCount(Searchable searchable);

    Workbook downloadQuery(Searchable searchable, Pageable pageable);

}
